From: Lars Ingebrigtsen Date: Mon, 17 Jun 2019 11:30:30 +0000 (+0200) Subject: Fix use of obsolete constructor in semantic/complete.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~2830 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a07c647a2a0426e3e7380d279f4d469fcd3e913c;p=emacs.git Fix use of obsolete constructor in semantic/complete.el * lisp/cedet/semantic/complete.el (make-instance): Use make-instance instead of the obsolete constructor method... which didn't work, anyway. The following would bug out --- diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 3c950230559..ec377f0103b 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el @@ -1176,8 +1176,8 @@ with that name." These collectors track themselves on a per-buffer basis." :abstract t) -(cl-defmethod constructor ((this (subclass semantic-collector-buffer-abstract)) - newname &rest fields) +(cl-defmethod make-instance ((this (subclass semantic-collector-buffer-abstract)) + &rest args) "Reuse previously created objects of this type in buffer." (let ((old nil) (bl semantic-collector-per-buffer-list))